From e781d8155ab312a1335dd3082dfd8abfef8430b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Thu, 5 Mar 2026 16:22:41 +0100 Subject: [PATCH] appDisplay: Stop using toggle-mode with folder icons This is essentially a left-over from the original folder design, dating all the way back to commit 6e3e2d9 in 2013. It no longer makes much sense with the current design iteration, where we pretend that the icon pops out of the grid and becomes the dialog (i.e. we hide the icon and zoom out the dialog from its position). Part-of: --- js/ui/appDisplay.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index e52278cba..20c133d7f 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2276,7 +2276,6 @@ export const FolderIcon = GObject.registerClass({ super._init({ style_class: 'overview-tile app-folder', button_mask: St.ButtonMask.ONE, - toggle_mode: true, can_focus: true, }, global.settings.is_writable('app-picker-layout')); this._id = id; @@ -2438,9 +2437,6 @@ export const FolderIcon = GObject.registerClass({ mode, delay: isOpen ? 0 : FOLDER_DIALOG_ANIMATION_TIME - duration, }); - - if (!isOpen) - this.checked = false; }); } } -- 2.39.5